package com.softeem.musicserver.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.softeem.musicserver.dto.R;
import com.softeem.musicserver.entity.Admin;

/**
 * 业务接口
 */
public interface AdminService extends IService<Admin> {

    /**
     * 登录
     * @param admin
     * @return
     */
    R login(Admin admin);

    /**
     * 添加
     * @param admin
     * @return
     */
    R add(Admin admin);

}
